Make code compile with unknown value of GDK_WINDOWING
authorPavel Machek <pavel@artax.karlin.mff.cuni.cz>
Tue, 30 Mar 1999 12:06:00 +0000 (12:06 +0000)
committerPavel Machek <pavel@src.gnome.org>
Tue, 30 Mar 1999 12:06:00 +0000 (12:06 +0000)
1999-03-30  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>

* gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
compile with unknown value of GDK_WINDOWING

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfontsel.c

index 75d8e000201d8cebbc57dc980d300a715e7eddc0..40241210285485002749eaee975d21bc4cfe8f1c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-03-30  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
+
+       * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
+       compile with unknown value of GDK_WINDOWING
+
 1999-03-28  Raja R Harinath  <harinath@cs.umn.edu>
 
        * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
index 75d8e000201d8cebbc57dc980d300a715e7eddc0..40241210285485002749eaee975d21bc4cfe8f1c 100644 (file)
@@ -1,3 +1,8 @@
+1999-03-30  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
+
+       * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
+       compile with unknown value of GDK_WINDOWING
+
 1999-03-28  Raja R Harinath  <harinath@cs.umn.edu>
 
        * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
index 75d8e000201d8cebbc57dc980d300a715e7eddc0..40241210285485002749eaee975d21bc4cfe8f1c 100644 (file)
@@ -1,3 +1,8 @@
+1999-03-30  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
+
+       * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
+       compile with unknown value of GDK_WINDOWING
+
 1999-03-28  Raja R Harinath  <harinath@cs.umn.edu>
 
        * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
index 75d8e000201d8cebbc57dc980d300a715e7eddc0..40241210285485002749eaee975d21bc4cfe8f1c 100644 (file)
@@ -1,3 +1,8 @@
+1999-03-30  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
+
+       * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
+       compile with unknown value of GDK_WINDOWING
+
 1999-03-28  Raja R Harinath  <harinath@cs.umn.edu>
 
        * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
index 75d8e000201d8cebbc57dc980d300a715e7eddc0..40241210285485002749eaee975d21bc4cfe8f1c 100644 (file)
@@ -1,3 +1,8 @@
+1999-03-30  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
+
+       * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
+       compile with unknown value of GDK_WINDOWING
+
 1999-03-28  Raja R Harinath  <harinath@cs.umn.edu>
 
        * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
index 75d8e000201d8cebbc57dc980d300a715e7eddc0..40241210285485002749eaee975d21bc4cfe8f1c 100644 (file)
@@ -1,3 +1,8 @@
+1999-03-30  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
+
+       * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
+       compile with unknown value of GDK_WINDOWING
+
 1999-03-28  Raja R Harinath  <harinath@cs.umn.edu>
 
        * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
index 75d8e000201d8cebbc57dc980d300a715e7eddc0..40241210285485002749eaee975d21bc4cfe8f1c 100644 (file)
@@ -1,3 +1,8 @@
+1999-03-30  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>
+
+       * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
+       compile with unknown value of GDK_WINDOWING
+
 1999-03-28  Raja R Harinath  <harinath@cs.umn.edu>
 
        * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
index c665bae116d0bf05f4cff7062bee07f8420d0412..41a30cba17a3d0159f2ea075bb0007aaf1cfd9fc 100644 (file)
@@ -2832,6 +2832,9 @@ gtk_font_selection_get_fonts (void)
   gint num_fonts;
 #elif GDK_WINDOWING == GDK_WINDOWING_WIN32
   LOGFONT logfont;
+#else
+  gint num_fonts = 0;
+  gchar **xfontnames = NULL;
 #endif
   GSList **fontnames;
   gchar *fontname;